package com.mes.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 投标企业信息表
 * @TableName bid_enterprise
 */
public class BidEnterprise implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 所属机构
     */
    private String affiliation;

    /**
     * 密码
     */
    private String password;

    /**
     * 盐
     */
    private String salt;

    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 名称
     */
    private String name;

    /**
     * 简称
     */
    private String shortName;

    /**
     * 开户行地址
     */
    private String addr;

    /**
     * 开户银行
     */
    private String bank;

    /**
     * 银行账号
     */
    private String account;

    /**
     * 税号
     */
    private String taxNo;

    /**
     * 联系人
     */
    private String contact;

    /**
     * 联系电话
     */
    private String contactTel;

    /**
     * 统一社会信用代码
     */
    private String usci;

    /**
     * 公司注册地址
     */
    private String address;

    /**
     * 企业性质
     */
    private String enterpriseNature;

    /**
     * 成立日期
     */
    private Date doe;

    /**
     * 法人/负责人
     */
    private String corpn;

    /**
     * 法人/负责人身份证
     */
    private String corpnIdcard;

    /**
     * 单位联系地址
     */
    private String contactAddress;

    /**
     * 经营范围
     */
    private String businessScope;

    /**
     * 公司简介
     */
    private String profile;

    /**
     * 营业执照扫描件
     */
    private String businessLicenseImage;

    /**
     * 营业执照有效期
     */
    private String businessLicenseGp;

    /**
     * 法人/负责人身份证扫描件
     */
    private String corpnIdcardImage;

    /**
     * 注册电话
     */
    private String registrationPhone;

    /**
     * 注册地址
     */
    private String contactAddr;

    /**
     * 注册资本
     */
    private String registeredCapital;

    /**
     * 实缴资本
     */
    private String paidinCapital;

    /**
     * 开户许可证/基本户存款信息证
     */
    private String accountLicence;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 备注
     */
    private String remark;

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    public Long getId() {
        return id;
    }

    /**
     * 主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 用户名称
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 用户名称
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 所属机构
     */
    public String getAffiliation() {
        return affiliation;
    }

    /**
     * 所属机构
     */
    public void setAffiliation(String affiliation) {
        this.affiliation = affiliation;
    }

    /**
     * 密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 盐
     */
    public String getSalt() {
        return salt;
    }

    /**
     * 盐
     */
    public void setSalt(String salt) {
        this.salt = salt;
    }

    /**
     * 手机号码
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 手机号码
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * 名称
     */
    public String getName() {
        return name;
    }

    /**
     * 名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 简称
     */
    public String getShortName() {
        return shortName;
    }

    /**
     * 简称
     */
    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    /**
     * 开户行地址
     */
    public String getAddr() {
        return addr;
    }

    /**
     * 开户行地址
     */
    public void setAddr(String addr) {
        this.addr = addr;
    }

    /**
     * 开户银行
     */
    public String getBank() {
        return bank;
    }

    /**
     * 开户银行
     */
    public void setBank(String bank) {
        this.bank = bank;
    }

    /**
     * 银行账号
     */
    public String getAccount() {
        return account;
    }

    /**
     * 银行账号
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 税号
     */
    public String getTaxNo() {
        return taxNo;
    }

    /**
     * 税号
     */
    public void setTaxNo(String taxNo) {
        this.taxNo = taxNo;
    }

    /**
     * 联系人
     */
    public String getContact() {
        return contact;
    }

    /**
     * 联系人
     */
    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * 联系电话
     */
    public String getContactTel() {
        return contactTel;
    }

    /**
     * 联系电话
     */
    public void setContactTel(String contactTel) {
        this.contactTel = contactTel;
    }

    /**
     * 统一社会信用代码
     */
    public String getUsci() {
        return usci;
    }

    /**
     * 统一社会信用代码
     */
    public void setUsci(String usci) {
        this.usci = usci;
    }

    /**
     * 公司注册地址
     */
    public String getAddress() {
        return address;
    }

    /**
     * 公司注册地址
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 企业性质
     */
    public String getEnterpriseNature() {
        return enterpriseNature;
    }

    /**
     * 企业性质
     */
    public void setEnterpriseNature(String enterpriseNature) {
        this.enterpriseNature = enterpriseNature;
    }

    /**
     * 成立日期
     */
    public Date getDoe() {
        return doe;
    }

    /**
     * 成立日期
     */
    public void setDoe(Date doe) {
        this.doe = doe;
    }

    /**
     * 法人/负责人
     */
    public String getCorpn() {
        return corpn;
    }

    /**
     * 法人/负责人
     */
    public void setCorpn(String corpn) {
        this.corpn = corpn;
    }

    /**
     * 法人/负责人身份证
     */
    public String getCorpnIdcard() {
        return corpnIdcard;
    }

    /**
     * 法人/负责人身份证
     */
    public void setCorpnIdcard(String corpnIdcard) {
        this.corpnIdcard = corpnIdcard;
    }

    /**
     * 单位联系地址
     */
    public String getContactAddress() {
        return contactAddress;
    }

    /**
     * 单位联系地址
     */
    public void setContactAddress(String contactAddress) {
        this.contactAddress = contactAddress;
    }

    /**
     * 经营范围
     */
    public String getBusinessScope() {
        return businessScope;
    }

    /**
     * 经营范围
     */
    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }

    /**
     * 公司简介
     */
    public String getProfile() {
        return profile;
    }

    /**
     * 公司简介
     */
    public void setProfile(String profile) {
        this.profile = profile;
    }

    /**
     * 营业执照扫描件
     */
    public String getBusinessLicenseImage() {
        return businessLicenseImage;
    }

    /**
     * 营业执照扫描件
     */
    public void setBusinessLicenseImage(String businessLicenseImage) {
        this.businessLicenseImage = businessLicenseImage;
    }

    /**
     * 营业执照有效期
     */
    public String getBusinessLicenseGp() {
        return businessLicenseGp;
    }

    /**
     * 营业执照有效期
     */
    public void setBusinessLicenseGp(String businessLicenseGp) {
        this.businessLicenseGp = businessLicenseGp;
    }

    /**
     * 法人/负责人身份证扫描件
     */
    public String getCorpnIdcardImage() {
        return corpnIdcardImage;
    }

    /**
     * 法人/负责人身份证扫描件
     */
    public void setCorpnIdcardImage(String corpnIdcardImage) {
        this.corpnIdcardImage = corpnIdcardImage;
    }

    /**
     * 注册电话
     */
    public String getRegistrationPhone() {
        return registrationPhone;
    }

    /**
     * 注册电话
     */
    public void setRegistrationPhone(String registrationPhone) {
        this.registrationPhone = registrationPhone;
    }

    /**
     * 注册地址
     */
    public String getContactAddr() {
        return contactAddr;
    }

    /**
     * 注册地址
     */
    public void setContactAddr(String contactAddr) {
        this.contactAddr = contactAddr;
    }

    /**
     * 注册资本
     */
    public String getRegisteredCapital() {
        return registeredCapital;
    }

    /**
     * 注册资本
     */
    public void setRegisteredCapital(String registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    /**
     * 实缴资本
     */
    public String getPaidinCapital() {
        return paidinCapital;
    }

    /**
     * 实缴资本
     */
    public void setPaidinCapital(String paidinCapital) {
        this.paidinCapital = paidinCapital;
    }

    /**
     * 开户许可证/基本户存款信息证
     */
    public String getAccountLicence() {
        return accountLicence;
    }

    /**
     * 开户许可证/基本户存款信息证
     */
    public void setAccountLicence(String accountLicence) {
        this.accountLicence = accountLicence;
    }

    /**
     * 创建者
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 创建者
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 更新者
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 更新者
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BidEnterprise other = (BidEnterprise) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName()))
            && (this.getAffiliation() == null ? other.getAffiliation() == null : this.getAffiliation().equals(other.getAffiliation()))
            && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
            && (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
            && (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getShortName() == null ? other.getShortName() == null : this.getShortName().equals(other.getShortName()))
            && (this.getAddr() == null ? other.getAddr() == null : this.getAddr().equals(other.getAddr()))
            && (this.getBank() == null ? other.getBank() == null : this.getBank().equals(other.getBank()))
            && (this.getAccount() == null ? other.getAccount() == null : this.getAccount().equals(other.getAccount()))
            && (this.getTaxNo() == null ? other.getTaxNo() == null : this.getTaxNo().equals(other.getTaxNo()))
            && (this.getContact() == null ? other.getContact() == null : this.getContact().equals(other.getContact()))
            && (this.getContactTel() == null ? other.getContactTel() == null : this.getContactTel().equals(other.getContactTel()))
            && (this.getUsci() == null ? other.getUsci() == null : this.getUsci().equals(other.getUsci()))
            && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))
            && (this.getEnterpriseNature() == null ? other.getEnterpriseNature() == null : this.getEnterpriseNature().equals(other.getEnterpriseNature()))
            && (this.getDoe() == null ? other.getDoe() == null : this.getDoe().equals(other.getDoe()))
            && (this.getCorpn() == null ? other.getCorpn() == null : this.getCorpn().equals(other.getCorpn()))
            && (this.getCorpnIdcard() == null ? other.getCorpnIdcard() == null : this.getCorpnIdcard().equals(other.getCorpnIdcard()))
            && (this.getContactAddress() == null ? other.getContactAddress() == null : this.getContactAddress().equals(other.getContactAddress()))
            && (this.getBusinessScope() == null ? other.getBusinessScope() == null : this.getBusinessScope().equals(other.getBusinessScope()))
            && (this.getProfile() == null ? other.getProfile() == null : this.getProfile().equals(other.getProfile()))
            && (this.getBusinessLicenseImage() == null ? other.getBusinessLicenseImage() == null : this.getBusinessLicenseImage().equals(other.getBusinessLicenseImage()))
            && (this.getBusinessLicenseGp() == null ? other.getBusinessLicenseGp() == null : this.getBusinessLicenseGp().equals(other.getBusinessLicenseGp()))
            && (this.getCorpnIdcardImage() == null ? other.getCorpnIdcardImage() == null : this.getCorpnIdcardImage().equals(other.getCorpnIdcardImage()))
            && (this.getRegistrationPhone() == null ? other.getRegistrationPhone() == null : this.getRegistrationPhone().equals(other.getRegistrationPhone()))
            && (this.getContactAddr() == null ? other.getContactAddr() == null : this.getContactAddr().equals(other.getContactAddr()))
            && (this.getRegisteredCapital() == null ? other.getRegisteredCapital() == null : this.getRegisteredCapital().equals(other.getRegisteredCapital()))
            && (this.getPaidinCapital() == null ? other.getPaidinCapital() == null : this.getPaidinCapital().equals(other.getPaidinCapital()))
            && (this.getAccountLicence() == null ? other.getAccountLicence() == null : this.getAccountLicence().equals(other.getAccountLicence()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
        result = prime * result + ((getAffiliation() == null) ? 0 : getAffiliation().hashCode());
        result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
        result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
        result = prime * result + ((getMobile() == null) ? 0 : getMobile().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getShortName() == null) ? 0 : getShortName().hashCode());
        result = prime * result + ((getAddr() == null) ? 0 : getAddr().hashCode());
        result = prime * result + ((getBank() == null) ? 0 : getBank().hashCode());
        result = prime * result + ((getAccount() == null) ? 0 : getAccount().hashCode());
        result = prime * result + ((getTaxNo() == null) ? 0 : getTaxNo().hashCode());
        result = prime * result + ((getContact() == null) ? 0 : getContact().hashCode());
        result = prime * result + ((getContactTel() == null) ? 0 : getContactTel().hashCode());
        result = prime * result + ((getUsci() == null) ? 0 : getUsci().hashCode());
        result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
        result = prime * result + ((getEnterpriseNature() == null) ? 0 : getEnterpriseNature().hashCode());
        result = prime * result + ((getDoe() == null) ? 0 : getDoe().hashCode());
        result = prime * result + ((getCorpn() == null) ? 0 : getCorpn().hashCode());
        result = prime * result + ((getCorpnIdcard() == null) ? 0 : getCorpnIdcard().hashCode());
        result = prime * result + ((getContactAddress() == null) ? 0 : getContactAddress().hashCode());
        result = prime * result + ((getBusinessScope() == null) ? 0 : getBusinessScope().hashCode());
        result = prime * result + ((getProfile() == null) ? 0 : getProfile().hashCode());
        result = prime * result + ((getBusinessLicenseImage() == null) ? 0 : getBusinessLicenseImage().hashCode());
        result = prime * result + ((getBusinessLicenseGp() == null) ? 0 : getBusinessLicenseGp().hashCode());
        result = prime * result + ((getCorpnIdcardImage() == null) ? 0 : getCorpnIdcardImage().hashCode());
        result = prime * result + ((getRegistrationPhone() == null) ? 0 : getRegistrationPhone().hashCode());
        result = prime * result + ((getContactAddr() == null) ? 0 : getContactAddr().hashCode());
        result = prime * result + ((getRegisteredCapital() == null) ? 0 : getRegisteredCapital().hashCode());
        result = prime * result + ((getPaidinCapital() == null) ? 0 : getPaidinCapital().hashCode());
        result = prime * result + ((getAccountLicence() == null) ? 0 : getAccountLicence().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userName=").append(userName);
        sb.append(", affiliation=").append(affiliation);
        sb.append(", password=").append(password);
        sb.append(", salt=").append(salt);
        sb.append(", mobile=").append(mobile);
        sb.append(", name=").append(name);
        sb.append(", shortName=").append(shortName);
        sb.append(", addr=").append(addr);
        sb.append(", bank=").append(bank);
        sb.append(", account=").append(account);
        sb.append(", taxNo=").append(taxNo);
        sb.append(", contact=").append(contact);
        sb.append(", contactTel=").append(contactTel);
        sb.append(", usci=").append(usci);
        sb.append(", address=").append(address);
        sb.append(", enterpriseNature=").append(enterpriseNature);
        sb.append(", doe=").append(doe);
        sb.append(", corpn=").append(corpn);
        sb.append(", corpnIdcard=").append(corpnIdcard);
        sb.append(", contactAddress=").append(contactAddress);
        sb.append(", businessScope=").append(businessScope);
        sb.append(", profile=").append(profile);
        sb.append(", businessLicenseImage=").append(businessLicenseImage);
        sb.append(", businessLicenseGp=").append(businessLicenseGp);
        sb.append(", corpnIdcardImage=").append(corpnIdcardImage);
        sb.append(", registrationPhone=").append(registrationPhone);
        sb.append(", contactAddr=").append(contactAddr);
        sb.append(", registeredCapital=").append(registeredCapital);
        sb.append(", paidinCapital=").append(paidinCapital);
        sb.append(", accountLicence=").append(accountLicence);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}